class Person:
    def __init__(self, name):
        self.name = name

    def run(self):
        print('{}在跑步'.format(self.name))


class Student(Person):
    def __init__(self, name):
        print('student init')
        super().__init__(name)


class Base:
    def test(self):
        print("base-----------------")


class A(Base):
    def test(self):
        print("aaa-----------------")


class B(Base):
    def test(self):
        print("bbb-----------------")


class C(Base):
    def test(self):
        print("ccc-----------------")


class D(B, A, C):
    pass


s = Student('李四')
s.run()

d = D()
d.test()

import inspect

print(inspect.getmro(D))
print(D.__mro__)
